<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

  class Tests_Right extends CI_Controller {

      public function index()
      {
      	$this->load->library('unit_test');

      	$this->testRight();
      }
      
      private function testRight(){
          load_library("User", "right");
          
          $manageRight = new Right();
          $rightTab = $manageRight->getAllPages();
          var_dump($rightTab);
        
      }
  }